package pl.edu.pk.mech.kkbus.dto;

import java.util.Date;

public class Defect {
 
    private long id;
    private String description;
    private Double cost;
    private Date date;
    private long busId;

    public Defect() {
    }

    public Defect(long id, String description, Double cost, Date date, long busId) {
        this.id = id;
        this.description = description;
        this.cost = cost;
        this.date = date;
        this.busId = busId;
    }

    public Defect(long id, String description, Double cost, Date date) {
        this.id = id;
        this.description = description;
        this.cost = cost;
        this.date = date;
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Double getCost() {
        return cost;
    }

    public void setCost(Double cost) {
        this.cost = cost;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public long getBusId() {
        return busId;
    }

    public void setBusId(long busId) {
        this.busId = busId;
    }
     
}
